home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Bus / A / AciusTN8-92.cpt / AciusTN8-92 / GraphicalButtonsƒ / Calculator.rsrc / 4Dte_15023 < prev    next >
Text File  |  1992-10-10  |  768b  |  17 lines

  1. This external routine sets the numbers of the PICT resources to be used by default for displaying the buttons of type %bp_Button or %bp_RadioButton.
  2.  
  3. Parameter 1:
  4. The name of the external area of the button.
  5.  
  6. Parameter 2:
  7. The ID of the PICT resource of the unclicked button.
  8.  
  9. Parameter 3:
  10. The ID of the PICT resource of the clicked button.
  11.  
  12. If you pass a negative value to one of these parameters, the existing value will not be modified.
  13.  
  14. Parameter 4:
  15. The ID of the inactive button. If you pass 0, the inactive button will not be respresented. If you pass -1, the button will be displayed inverted. If you pass a value less than -1, the existing value will not be modified.
  16.  
  17. Written by François Marchal, © ACI 1991. Detailed description and source code in MPW Pascal.